window.onload=function(){
  var swiper = new Swiper('.swiper-container', {
    
    autoplay:true,
    
    pagination: {
    
      el: '.swiper-pagination',
      clickable: true,
      renderBullet: function (index, className) {
        var arr=['找停车场','车场详情','精确导航','语音识别','车辆卡片','电子支付','自动代扣','VIP','E米商城','车主服务'];
        return '<li class="' + className + '">' +'<div class="icon'+index+'">'+'</div>'+'<div class="icon-txt">'+arr[index]+'</div>'+ '</li>';
      },
    },
  });


  var swiper1 = new Swiper('.swiper-container', {
    
    autoplay:true,
    
    pagination: {
    
      el: '.one',
      clickable: true,
      renderBullet: function (index, className) {
        var arr=['车辆卡片','电子支付','自动代扣'];
        var i=index+4;
        return '<li class="' + className + '">' +'<div class="icon'+i+'">'+'</div>'+'<div class="icon-txt">'+arr[index]+'</div>'+ '</li>';
      },
    },
  });

  var swiper2 = new Swiper('.swiper-container', {
    
    autoplay:true,
    
    pagination: {
    
      el: '.two',
      clickable: true,
      
      renderBullet: function (index, className) {
        var arr=['VIP','E米商城','车主服务'];
        var i=index+7;
        return '<li class="' + className + '">' +'<div class="icon'+i+'">'+'</div>'+'<div class="icon-txt">'+arr[index]+'</div>'+ '</li>';
      },
    },
  });
};
